]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Remove no longer valid comment
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 2 Jun 2020 08:29:19 +0000 (10:29 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 4 Jun 2020 17:40:09 +0000 (17:40 +0000)
This comment is no longer correct, we're not inserting any actors here
to adjust for the window border, but we're modifying the allocation of
the children to adjust for that border.

Since that happens in the layout manager anyway, remove the comment
here.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1297

js/ui/workspace.js

index 859e579bbb14532420f4c39b61d1627c624f0e3f..fccb5c5608f4151304b43b94fbb79db01fcddf09 100644 (file)
@@ -182,10 +182,6 @@ var WindowClone = GObject.registerClass({
         this.metaWindow._delegate = this;
         this._workspace = workspace;
 
-        // The MetaShapedTexture that we clone has a size that includes
-        // the invisible border; this is inconvenient; rather than trying
-        // to compensate all over the place we insert a ClutterActor into
-        // the hierarchy that is sized to only the visible portion.
         super._init({
             reactive: true,
             can_focus: true,